<template>
	  <view class="map_wrap">
		  <child-component :message=message />
	    <text>父组件接收到的消息：{{ message }}</text>
	  </view>
</template>

<script>
	import childComponent from "@/components/childComponent.vue"
	export default{
		props: ["message"], // 声明需要的属性
		components:{childComponent},
		data(){
			return {
				"childMessage":"childMessage"
				
			}
		}
	}
</script>

<style>
</style>